from views.auth_permission import PermissionListView, PermissionDetailView
import logging

def init_url_router(api):
    logging.info("Initializing URL router...")
    # 权限列表
    api.add_resource(PermissionListView, r"/api/auth/permission")
    api.add_resource(PermissionDetailView, r"/api/auth/permission/<int:id>")
    logging.info("URL router initialized.")


